﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" 
CodeBehind="ChinhSuaDanhMucCon.aspx.cs" Inherits="GreenLife.Admin.ChinhSuaDanhMucCon" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <form id="Form1" runat="server">
    <table width="150px">
        <thead>
            <tr>
                <td width="100px">
                </td>
                <td width="350px">
                </td>
                <td width="350px">
                </td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    SubCategoryId:
                </td>
                <td>
                    <asp:Label ID="txtSubCateId" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    CategoryId:
                </td>
                <td>
                    <asp:TextBox ID="txtCateId" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtCateId">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    SubCategoryName:
                </td>
                <td>
                    <asp:TextBox ID="txtSubCateName" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtSubCateName">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Image:
                </td>
                <td>
                    <asp:Image ID="imgSubCate" runat="server" Width="100px" Height="100px" ImageUrl="" /><br />
                    <asp:FileUpload id="FileUploadControl" runat="server" />
                </td>
            </tr>

            <tr>
                <td>
                    SubCategoryDescription:
                </td>
                <td>
                    <FTB:FreeTextBox ID="txtDescription" runat="server">
                    </FTB:FreeTextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtDescription">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    SubCategoryArea:
                </td>
                <td>
                    <asp:TextBox ID="txtSubCateArea" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtSubCateArea">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    SubCategoryHuong:
                </td>
                <td>
                    <asp:TextBox ID="txtSubCateHuong" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtSubCateHuong">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>

            <tr>
                <td colspan="2">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" />
                </td>
            </tr>
        </tbody>
    </table>
    </form>

</asp:Content>
